from appium.webdriver.common.mobileby import MobileBy
from app_wechat_po.base.base_page import BasePage


class EditPersonalPage(BasePage):
    # 点击删除成员
    def edit_personal_page(self):
        # 5.点击删除成员按钮并确认
        self.swipe_find('删除成员').click()
        self.find_and_click(MobileBy.XPATH, "//*[@text='确定']")

        from app_wechat_po.page.add_member_page import AddMemberPage
        return AddMemberPage(self.driver)